<?php
require_once("Entity.php");
class EventEntity extends DBEntity {

	/** @var int,@column event_id,@dbType int(11) */
	var $eventId;

	/** @var int,@column type_id,@dbType int(11) */
	var $typeId;

	/** @var int,@column recipe_id,@dbType int(11) */
	var $recipeId;

	/** @var int,@column target_id,@dbType int(11) */
	var $targetId;

	/** @var int,@column actor_id,@dbType int(11) */
	var $actorId;

	/** @var int,@column create_time,@dbType bigint(20) */
	var $createTime;

	/** @var string,@column private,@dbType bit(1) */
	var $private;

	private static $_columnList = array(
		"event_id","type_id","recipe_id","target_id","actor_id","create_time","private",
	);

	private static $_propertyMap = array(
	"event_id"    => "eventId",
	"type_id"    => "typeId",
	"recipe_id"    => "recipeId",
	"target_id"    => "targetId",
	"actor_id"    => "actorId",
	"create_time"    => "createTime",
	"private"    => "private",
	);

	public function __construct() {
		//parent::__construct();
    }
    
    public function getTable() {
        return "event";
    }

	public function getColumnList() {
		return self::$_columnList;
	}

	protected function getPropertyMap() {
		return self::$_propertyMap;
	}

    public function getPrimaryKey() {
        return "event_id";
    }

}
?>